Hi,

I'm using JavaScript to parse the XML onto HTML.

I was wondering if there is a way that I can limit the words output on a certain XML tag.

For example, for the JavaScript to only display 50 letters (or characters) of the <content> tag in XML


Thank you in advance!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.