Parse an xml file using <cm> tag
I have question about Content Management and weblogic portal 9.2
In VCR directory, I will have xml file with bellow structure
Test Repository
--->Test
----Test.xml
Test.xml File will be like
<main_content>
<content>
<Subject>Subject</Subject>
<grade><p>This is grade Data</p></grade>
<mark><p>This is mark Data</p><mark>
<content>
<main_content>
I have used below code to retrieve the above
<cm:getNode path="/Test Repository/Test/Test.xml" id="headernode" />
<cm:getProperty id="node" name="_content" />
Above code will show all the content on Jsp. i,e Subject This is grade Data This is mark Data
But I only want to retrieve the data of <grade> tag then how can I do this? Please help
How <cm> tag will help me here ?
Please provide sample code if have. Your help is highly appreciated.
Edited by: user11311969 on Sep 10, 2009 2:52 AM
Edited by: user11311969 on Sep 10, 2009 2:53 AM