Add a separation line and format XML content

I want to bold and add an html tag for interruption in my xml< Content>.
This is the method I tried:


-

1


-


-

Title Title

Subheading

Hello everyone


Date: 23th November





2015-12-14T06:42:55.267Z

2015-12-14T07:17:19.577Z

00000000-0000-0000-0000-000000000000

00000000 -0000-0000-0000-000000000000

00000000-0000-0000-0000-000000000000



TSTSCC

e7e87f30-a22d-11e5-8340-f3025c46ea4f





The above result shows every tag I use: Hi< / b >
Not hi.

So how do I use html tags to format my xml content above?
Can someone help?

XML does not have any default semantics, so the browser cannot know the “h1” and HTML “h1”. In fact, it is not HTML “h1” very specifically, but “h1” in the language where the XML file is located. The browser doesn’t know anything about it.

To make “h1” into HTML “h1”, you need to convert it to HTML namespace.

Then, whether it will be displayed according to your needs depends on whether the browser or editor you are using uses the recognized and processed HTML
an XML file in the context. I suspect that most editors will still show you text instead of
applying formatting.

You didn’t actually indicate where you are displaying this file, but if it’s in the browser, you You can convert the XML to HTML, or you can provide a CSS style sheet to tell the browser how to display the text. But that means you also have to deal with how to make the rest of the XML display as markup text instead of formatting according to the style sheet.

I want to bold and add an html tag for interruption in my xml< Content>.
This is the method I tried:


-

1< br />

-


-

Title Title

Subheading

Hello everyone


Date: 23th November

< /Content>



2015-12-14T06:42:55.267Z

2015-12-14T07:17:19.577Z

00000000-0000-0000-0000-000000000000

00000000-0000-0000-0000-000000000000

00000000-0000-0000-0000-000000000000



TSTSCC

TSTSCC

e7e87f30-a22d-11e5-8340-f3025c46ea4f





The above results show every tag I use: Hi< / b>
instead of hi.

So how do I format my xml content above with html tags?
Can someone help?

XML does not have any default semantics, so the browser cannot know “h1” and HTML “h1” in this case. In fact, it is very specific Not HTML “h1”, but “h1” in the language where the XML file is located. The browser doesn’t know anything about it.

To make “h1” become HTML “h1”, you need Convert it to HTML namespace.

Then , Whether it will be displayed according to your needs, depends on whether the browser or editor you use uses recognized and processed HTML
an XML file in the context. I suspect that most editors will still show you the text Instead of
apply formatting.

You didn’t actually indicate where you are displaying this file, but if it is in the browser, you can convert the XML to HTML, or you can provide CSS The style sheet tells the browser how to display the text. But this means you also have to deal with how to make the rest of the XML display as markup text instead of formatting according to the style sheet.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 6070 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.