Quantcast
Channel: PTC Community : All Content - Arbortext
Viewing all articles
Browse latest Browse all 1645

How to put line return in custom table cell generated by Xpath string

$
0
0

Good day! I have an interesting problem. At least, interesting to me.

 

I have a custom table, and it has a few cells that are generated by Xpath strings.

 

What I would like to do is generate a custom table cell from an Xpath string that incorporates the content of two tags. No problem. But I would like to put a line return between those two instances. I'm not sure if there's a way to do this.

 

Here's an example of what I'm trying to do.

 

concat(string(tagx[1]/tagy/tagz), '{this is where the line return should be'}, string(tagx[2]/tagy/tagz))

 

I have control of the stylesheet, made via Arbortext with Styler, but by contract I cannot alter the DTD.

 

I have attempted to put various iterations of line returns, but they don't get called as line returns for the PDF. They just appear as the text that would constitute a line return in XML. In other words, '
' literally appears in the PDF as 
 and not as a line return.

 

Xpath is not my strong suit, so I may be going about this all wrong.

 

I appreciate your consideration!


Viewing all articles
Browse latest Browse all 1645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>