XML – XPATH – Extract values ​​from strings

this is my value 822880494 this is my value

I am new to xpath, xml and stylevision, so this is possible Is a basic question.

I am using stylevision 2010 and xpath to create sps/xslt for the pattern.

In the above node, you can see that there is a value inside the node, I I want to extract the value and convert it to a link in my pdf/html. The problem is that I can’t seem to extract it. Substring is not an option because the length of the value and the position of the value in it will be different.

Some people may think that the model combination is serious, and the value should be in a separate node/attribute/…I can’t do anything because this model is provided by another company.

Thanks in advance!

StyleVision 2010 seems to support XSLT 2.0, so you can use 2.0 style sheets and perform similar operations< p>





Or what do you want to do with this number; the string with the number is the context element within the element.

Newtover’s translation idea (for XSLT 1.0) looks like This:

But if your input contains multiple numbers, then just concatenate them.

this is my value 822880494 this is my value

I am new to xpath, xml and stylevision, so this may be a basic question.

I am using stylevision 2010 and xpath to create sps for the pattern/ xslt.

In the above node, you can see that there is a value inside the node, and I want to extract that value and convert it to a link in my pdf/html. The problem is that I can’t seem to extract it It. Substring is not an option, because the length of the value and the position of the value in it will be different.

Some people may think that the pattern combination is serious, and the value should be in a separate node/attribute/… There is nothing I can do because this model is provided by another company.

Thanks in advance!

StyleVision 2010 seems to support XSLT 2.0, so you can use 2.0 stylesheets and perform similar operations





Or what do you want to do with this number; with The string of numbers is the context element. Element within .

Newtover’s translation idea (for XSLT 1.0) looks like this:

But if your input contains multiple Numbers, then just connect them.

Leave a Comment

Your email address will not be published.