0
votes
0answers
4 views

Indicating unlisted or fictional languages in lang attribute with private-use subtags

Follow-up from Indicating unlisted or fictional languages in HTML lang attribute with private-use subtags How would I indicate a language other than one listed in the IANA Language Subtag ...
0
votes
0answers
22 views

Javascript web service request in HTML page

I have been trying for the past few days to use JavaScript to call a web service. The web service returns an xml file of the form: <element1> <element1a attribute="x"> ...
-1
votes
0answers
4 views

XML data frament in HTML (Does this have Code Smell)

The following fragment of data is being stored in an XML DB field <dfn> <span><b>pid</b>(<var>*</var>):</span> <code>1039125</code> ...
0
votes
0answers
6 views

How to make all menuitems of all menus radio type in firefox addon?

I am writing a proxy switcher according the the rigion and city.I use two level menus, first level menu is rigion and the second level menu is city. following is the xul code of my overlay. <?xml ...
0
votes
2answers
15 views

Phonegap: Display/Parse XML Data by pages

I'm a newbie in Phonegap. Does anyone have any idea how I can display my XML data by page on a Phonegap app. For example, on one page, it would be a post and there will be a button to the next post ...
0
votes
4answers
34 views

Find/replace string between HTML tags in jQuery? [duplicate]

Say I have the following code: <div> Some text <h1>A divider</h1> More text </div> [Preferably] via jQuery, how would I grab "More text" and replace it?
1
vote
1answer
36 views

Indicating unlisted or fictional languages in lang attribute

Follow-up: Indicating unlisted or fictional languages in lang attribute with private-use subtags How would I indicate a language other than one listed in the IANA Language Subtag Registry, for ...
1
vote
1answer
110 views

Windows Phone XML and HTML elements

I am at the moment doing a practice project for a friend who asks that I create a phone app to view certain website news. Now, I've done this with pulling the RSS and it's just simple XML parsing, but ...
2
votes
1answer
1k views

How do you keep HTML tags when querying a xml using sql?

I want to keep html tags in my sql query when i write a query to generate xml tags. For example: select '<p> this is a code</p>' as code from table name for xml path (''), type outputs: ...
1
vote
2answers
204 views

How to show large xml value with scroll bar in html5

I want to show some xml value in a div tag. I use xmp html tag. But sometimes my xml value consists of several lines,How can I add scroll bar for showing all lines. thanks.
4
votes
6answers
7k views

Python code to remove HTML tags from a string

I have a text like this: text = """<div> <h1>Title</h1> <p>A long text........ </p> <a href=""> a link </a> </div>""" using pure Python, with no ...
30
votes
8answers
54k views

Auto-Format / Indent for XML/HTML in Notepad++

I'm looking for a shortcut / plugin w/ shortcut with the same effect as Ctrl-Shift-F in eclipse (Auto-Format/Indent). Anybody know of something like that? NppAutoIndent won't work as I'll need it for ...
2
votes
4answers
3k views

What does unicode character &#10; represent?

The unicode is &#10; and it's being used in an XML document.
216
votes
10answers
15k views

Can you provide some examples of why it is hard to parse XML and HTML with a regex?

One mistake I see people making over and over again is trying to parse XML or HTML with a regex. Here are a few of the reasons parsing XML and HTML is hard: People want to treat a file as a sequence ...
65
votes
9answers
24k views

How can one close HTML tags in Vim quickly?

It's been a while since I've had to do any HTML-like code in Vim, but recently I came across this again. Say I'm doing a simple bit of a HTML page: <html><head><title>This is a ...

1 2 3 4 5 143
15 30 50 per page