xsl-list
[Top] [All Lists]

[xsl] Embedding the XPath of an input Text Fragment in output

2008-06-11 16:41:26
I want to generate the following type of document.
<gcdocument filename="...">
        <textfragment>
                <xpath>The xpath of the first text fragment goes here</xpath>
<Text>This is some natural language text that I want to grammar check.</text>
        </textfragment>
<!-- as many textfragment tags as necessary to represent an input xml document -->
</gcdocument>

Is it possible to embed the xpath of text fragments this way. [The xpath from file filenmame]
-------------------------------------
This sig is dedicated to the advancement of Nuclear Power
Tommy Nordgren
tommy(_dot_)nordgren(_at_)comhem(_dot_)se





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--