Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Dear Users,
I have a XML structure as below and have context created as listitem/bulletedlist/stem . Stem is a Para element. Here I wanted bulletedlist to be ignored in .style so that stem does not move to next line (pls see CURRENTOUTPUT) so that it behaves like EXPECTED OP.
In short is it possible to ignore or make a element behave like para . I am using APP Engine.
<orderedList>
<ListItem>
<bulletedList>
<stem> This is STEM Element</stem>
<ListItem> List A </ListItem>
<ListItem> List B </ListItem>
<ListItem> List C </ListItem>
</bulletedList>
</ListItem>
<ListItem>Demo List 2
</ListItem>
</orderedList>
CURRENT OUTPUT :
1
This is STEM Element
2 Demo List 2
EXPECTED OUTPUT :
1 This is STEM Element
2 Demo List 2
Pls advice.
Tnkx
Sriram Rammohan
Although I do not know how your styles are written no how your DTD is structured, but based on your output, I would think you might have better luck as follows:
<orderedList>
<ListItem><stem> This is STEM Element</stem></ListItem>
<bulletedList>
<ListItem> List A </ListItem>
<ListItem> List B </ListItem>
<ListItem> List C </ListItem>
</bulletedList>
<ListItem>Demo List 2
</ListItem>
</orderedList>
Optional
<orderedList>
<ListItem><stem> This is STEM Element</stem></ListItem>
<bulletedList>
<ListItem> <para>List A</para> </ListItem>
<ListItem><para>List B</para> </ListItem>
<ListItem><para>List C</para> </ListItem>
</bulletedList>
<ListItem><para>Demo List 2</para>
</ListItem>
</orderedList>
In our styles this would give you the desired results if stem is treated as a para. Obviously demo list is treated as a para also. Our markup would add Para tags around the text automatically and assum a bulled list can be contained in an ordered list.