Hi
I am in the need of sending some information enclosed within the "wrong" node in an xml file since the parser system that receives this files can't handle additional metadata and therefor I wonder how I can extract the data out from the node again from the file I receive back from the parser.
I can configure how to encapsulate the data I add, but I thought I would do this:
<ARTICLE_DATA>
<MAINTITLE>Her er overskriften</MAINTITLE>
<ARTICLETEXT>
<P>
[PubTime/10:00]
[ArticleType/message]
Her kommer selve artikkelteksten...
</P>
</ARTICLETEXT>
</ARTICLE_DATA>
The two metadata is PubTime and ArticleType. These texts will always be constant while the right side of the slash will vary. When I get this file back I will need to extract (and remove) both [..] parts from the <p> and into some variables so that I can insert them elsewhere in my resulting xml file - but how?
Regards
</Morten>
</Morten>
I am in the need of sending some information enclosed within the "wrong" node in an xml file since the parser system that receives this files can't handle additional metadata and therefor I wonder how I can extract the data out from the node again from the file I receive back from the parser.
I can configure how to encapsulate the data I add, but I thought I would do this:
<ARTICLE_DATA>
<MAINTITLE>Her er overskriften</MAINTITLE>
<ARTICLETEXT>
<P>
[PubTime/10:00]
[ArticleType/message]
Her kommer selve artikkelteksten...
</P>
</ARTICLETEXT>
</ARTICLE_DATA>
The two metadata is PubTime and ArticleType. These texts will always be constant while the right side of the slash will vary. When I get this file back I will need to extract (and remove) both [..] parts from the <p> and into some variables so that I can insert them elsewhere in my resulting xml file - but how?
Regards
</Morten>
</Morten>