hari3485 commited on
Commit
74fb91f
·
verified ·
1 Parent(s): 04b689e

Update pages/hari.py

Browse files
Files changed (1) hide show
  1. pages/hari.py +7 -12
pages/hari.py CHANGED
@@ -308,16 +308,11 @@ def json_details_page():
308
  def xml_details_page():
309
  st.title("Semi Structured Data - XML Details")
310
 
311
- st.markdown("<h1 style='text-align:; color: #4a90e2;'>Handling XML Files(.xlsx)</h1>", unsafe_allow_html=True)
312
-
313
- st.markdown("<h3 style='color: green;'>What is XML?</h3>", unsafe_allow_html=True)
314
- st.write("XML (Extensible Markup Language) is a markup language used for storing and transporting semi-structured data.")
315
-
316
- st.markdown("<h3 style='text-align: center; color: blue;'>Handling XML Files</h3>", unsafe_allow_html=True)
317
-
318
  st.markdown("<h2 style='color: green;'>What is XML?</h2>", unsafe_allow_html=True)
319
  st.markdown("""
320
  <ul style="font-family: Arial; line-height: 1.6;">
 
321
  <li><code>XML</code> is a markup language, meaning it uses tags to define the structure and content of data.</li>
322
  <li> It is semi-structured, meaning it has a flexible structure that can be defined by the user.</li>
323
  <li>Tags are not predefined, allowing users to create their own custom tags.</li>
@@ -336,14 +331,14 @@ def xml_details_page():
336
 
337
  st.code("""<persons>
338
  <person>
339
- <name>John Doe</name>
340
- <age>30</age>
341
  <gender>Male</gender>
342
  </person>
343
  <person>
344
- <name>Jane Doe</name>
345
- <age>25</age>
346
- <gender>Female</gender>
347
  </person>
348
  </persons>
349
  """, language="xml")
 
308
  def xml_details_page():
309
  st.title("Semi Structured Data - XML Details")
310
 
311
+ st.markdown("<h1 style='text-align:; color: blue;'>Handling XML Files(.xlsx)</h1>", unsafe_allow_html=True)
 
 
 
 
 
 
312
  st.markdown("<h2 style='color: green;'>What is XML?</h2>", unsafe_allow_html=True)
313
  st.markdown("""
314
  <ul style="font-family: Arial; line-height: 1.6;">
315
+ <li>XML (Extensible Markup Language) is a markup language used for storing and transporting semi-structured data.</li>
316
  <li><code>XML</code> is a markup language, meaning it uses tags to define the structure and content of data.</li>
317
  <li> It is semi-structured, meaning it has a flexible structure that can be defined by the user.</li>
318
  <li>Tags are not predefined, allowing users to create their own custom tags.</li>
 
331
 
332
  st.code("""<persons>
333
  <person>
334
+ <name>HARI </name>
335
+ <age>22</age>
336
  <gender>Male</gender>
337
  </person>
338
  <person>
339
+ <name>CHANDAN</name>
340
+ <age>21</age>
341
+ <gender>Male</gender>
342
  </person>
343
  </persons>
344
  """, language="xml")